/*访问后台的代码*/
layui.define([], function(exports) {
    var api={
      update:function(form,callback){
             Lib.submitForm("/cms/highlevelTalents/update.json",form,{},callback)
      },
       addHighlevelTalents:function(form,callback){
           Lib.submitForm("/cms/highlevelTalents/add.json?judge=add",form,{},callback)
       },
        savedeclaration: function (form, callback) {
            Lib.submitForm("/cms/highlevelTalents/add.json?judge=declare", form, {}, callback)
        },
        editandsave:function(form,callback){
            Lib.submitForm("/cms/highlevelTalents/update.json?judge=add",form,{},callback)
        },
        editorialapplication:function(form,callback){
            Lib.submitForm("/cms/highlevelTalents/update.json?judge=declare",form,{},callback)
        },
        AcceptanceOK: function (form, callback) {//受理通过
            Lib.submitForm("/cms/highlevelTalents/AcceptanceOK.json", form, {}, callback)
        },
        FirstTrial: function (form, callback) {//初审通过
            Lib.submitForm("/cms/highlevelTalents/FirstTrial.json", form, {}, callback)
        },
        ReviewThrough: function (form, callback) {//复审通过
            Lib.submitForm("/cms/highlevelTalents/ReviewThrough.json", form, {}, callback)
        },
        AdmissibleReturn: function (form, callback) {//受理退回
            Lib.submitForm("/cms/highlevelTalents/AdmissibleReturn.json", form, {}, callback)
        },
        initialReview: function (form, callback) {//初审退回
            Lib.submitForm("/cms/highlevelTalents/initialReview.json", form, {}, callback)
        },
        Reexamination: function (form, callback) {//复审退回
            Lib.submitForm("/cms/highlevelTalents/Reexamination.json", form, {}, callback)
        },
        Admissibility: function (form, callback) {//受理终止
            Lib.submitForm("/cms/highlevelTalents/Admissibility.json", form, {}, callback)
        },
        FirstTrialTermination: function (form, callback) {//初审终止
            Lib.submitForm("/cms/highlevelTalents/FirstTrialTermination.json", form, {}, callback)
        },
        RetrialTermination: function (form, callback) {//复审终止
            Lib.submitForm("/cms/highlevelTalents/RetrialTermination.json", form, {}, callback)
        },
            del:function(ids,callback){
                Common.post("/cms/highlevelTalents/delete.json",{"ids":ids},function(){
                    callback();
                })
            }
		
    };
    exports('highlevelTalentsApi',api);
});